package com.dries.portal.module.portal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dries.common.api.CommonResult;
import com.dries.portal.module.portal.entity.Discuss;
import com.dries.portal.module.portal.form.AddDiscussDetailForm;
import com.dries.portal.module.portal.vo.DiscussVo;
import com.github.pagehelper.PageInfo;

/**
 * 用户评论表
 *
 * @author dries
 * @email samphsanie@gmail.com
 * @date 2020-08-06 15:56:47
 */
public interface IDiscussService extends IService<Discuss> {

    /**
     * 查询用户评价列表
     */
    PageInfo<DiscussVo> listByDiscussVo(Integer pageNumber, Integer pageSize);

    /**
     * 用户新增评价表单
     */
    CommonResult saveByAddDiscussDetailForm(AddDiscussDetailForm form);

}

